package com.work.demo.controller;

import cn.hutool.core.io.file.FileWriter;

/**
 * @ProjectName: demo
 * @Package: com.example.demo.controller
 * @ClassName: SignTest
 * @Author: Deng YuBin
 * @Description:
 * @Date: 2021/2/10 9:40
 * @Version: 1.0
 */
public class SignTest {
	private static final Double DAY_HOUR = 24D;

	public static void main(String[] args) {
		String path = "/fuData/test-job/tg-test-errors.txt";
		boolean exist = cn.hutool.core.io.FileUtil.exist(path);
		System.out.println(exist);
		if (!exist) {
			cn.hutool.core.io.FileUtil.file(path);
		}
		FileWriter writer = new FileWriter(path);
		writer.append("linya再测试\n");
	}


}
